package avicit.bdp.dms.tdm.service;


import avicit.bdp.common.base.BaseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import avicit.bdp.dms.tdm.dto.AssetTagDTO;
import avicit.bdp.dms.tdm.dao.AssetTagDAO;

import java.util.List;


/** 
 * 资产标签关联表服务
 *
 */
@Transactional
@Service
public class AssetTagService extends BaseService<AssetTagDAO, AssetTagDTO> {


    public List<AssetTagDTO> findAssetTagListByAssetId(String id) {
        return this.mapper.findAssetTagListByAssetId(id);
    }

    public List<AssetTagDTO> findAssetTagListByAssetIdList(List<String> assetIdList) {
        return this.mapper.findAssetTagListByAssetIdList(assetIdList);
    }
}
